package top.glike.funct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.glike.common.annotation.Excel;
import top.glike.common.core.domain.BaseEntity;

/**
 * 社交管理对象 gb_socials
 * 
 * @author Sophia
 * @date 2024-02-13
 */
public class GbSocials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 社交图标提示title */
    @Excel(name = "社交图标提示title")
    private String title;

    /** 社交个体的图标iconfont */
    @Excel(name = "社交个体的图标iconfont")
    private String icon;

    /** 图标颜色 */
    @Excel(name = "图标颜色")
    private String color;

    /** 社交链接 */
    @Excel(name = "社交链接")
    private String href;

    /** 社交文字说明 */
    @Excel(name = "社交文字说明")
    private String text;

    /** 社交图片 */
    @Excel(name = "社交图片")
    private String img;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("icon", getIcon())
            .append("color", getColor())
            .append("href", getHref())
            .append("text", getText())
            .append("img", getImg())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
